Identification of behavioural and creational design motifs through dynamic analysis
نویسندگان
چکیده
Design patterns offer design motifs, solutions to object-oriented design problems. Design motifs lead to well-structured designs and thus are believed to ease software maintenance. However, after use, they are often “lost” and are consequently of little help during program comprehension and other maintenance activities. Therefore, several works proposed design pattern identification approaches to recover occurrences of the motifs. These approaches mainly used the structure and organisation of classes as input. Consequently, they have a low precision when considering behavioural and creational motifs, which pertain to the assignment of responsibilities and the collaborations among objects at runtime. We propose MoDeC, an approach to describe behavioral and creational motifs as collaborations among objects in the form of scenario diagrams. We identify these motifs using dynamic analysis and constraint programming. Using a proof-of-concept implementation of MoDeC and different scenarios for five other Java programs and Builder, Command, and Visitor, we show that MoDeC has a better precision than a state-of-the-art static approaches.
منابع مشابه
Identification of Behavioral and Creational Design Patterns through Dynamic Analysis
Design patterns are considered to be a simple and elegant way to solve problems in object-oriented software systems, because their application leads to a wellstructured object-oriented design, and hence, are considered to ease software comprehension and maintenance. However, due to the complexity of large objectoriented software systems nowadays, it is impossible to recover manually the design ...
متن کاملIdentification and Introducing the Multi-Layered Identity of Human Characters on Stone Motifs of Chahleshtar Qajar Castle
The Chaleshtar castle in Chahar Mahal and Bakhtiari is decorated with varied and unique stone herbal, human and animal ornaments. In the decoration of this Qajar building, the traces of the three national, religious, and foreign patterns of the Qajar period are observed, especially in human designs. Resemblance of human ornaments in this building with aforementioned patterns influenced by nativ...
متن کاملStudy of pottery motifs of Gonabad and its application in designing the visual identity of a cultural institution
Gonabad pottery is one of the types of pottery in the country that shows the cultural authenticity and civilization of Khorasan. However, the name of this pottery and the motifs used on it are in danger of being destroyed due to the problems related to the potters and neglecting the place of this valuable art. Therefore, the current research intends to study the role of the original ingredients...
متن کاملIdentification of Behavioral and Creational
The use of design patterns is a simple and elegant way to solve problems when designing object-oriented software systems because it leads to well-structured designs. However, after application, design patterns are lost in the source code, and are thus of little help during program comprehension and subsequent maintenance. In previous work, the structure and organization among classes were the p...
متن کاملIdentification and study of Sistan and Baluchestan tablecloths With an emphasis on Texture structure and Motifs))
Tablecloths are used to make bread and tinned food, which is woven by women in numerous rural areas and nomadic tribes. Sistan and Baloochestan province is one of the important areas of plafond in terms of texture and design. The decline in the production of tablecloth, which is affected by the environmental, economic, life-changing and neglected indigenous capacities of women's art in this reg...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Journal of Software Maintenance
دوره 22 شماره
صفحات -
تاریخ انتشار 2010